<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" :key="$route.fullPath"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
import {getLocalLang} from "@/utils";
//:key="$route.fullPath"
export default {
  name: 'App',
  data() {
    return {

    };
  },
  mounted(){
    document.title=this.$t('global.platName')
  }
}
</script>
